############################################################
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
PROJECT(strategypy)

message("------------------[mint-work/strategy/pybind]------------------")

#
file(GLOB PYBIND_FILES ./*.cpp)
ADD_SUBDIRECTORY(../../../deps/pybind11-2.2.4 "${PROJECT_BINARY_DIR}/pybind11")

PYBIND11_ADD_MODULE(${PROJECT_NAME} SHARED ${PYBIND_FILES})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC yijinjing wingchun startup_static strategy_static)

############################################################
message("------------------[mint-work/strategy/pybind]------------------")